<?php
//----------------------------------------------------------------------------------------------------------
    require_once('../config.inc.php');

    require_once($config['app_dir'] . '/classes/staff.class.php');
    require_once($config['app_dir'] . '/classes/stockplot.data.php');    //get IDParams only
    require_once($config['app_dir'] . '/classes/user.class.php'); 
    //-------------------------------------------------------------------------------------------------------
    $IDParam = new objIDParam();
   
    $Staff = new objStaff($config['app_id']);    
    if(3 != $Staff->UserGroupID() ) {
        echo 'Only for administrators';
        exit;
    }
    $Reactivation = new objReActivationModel($IDParam->id);
    echo $Reactivation->Fetch();
//----------------------------------------------------------------------------------------------------------
?>
